<?php
//+-----------------------------------------------------------
//| 人生是荒芜的旅行，冷暖自知，苦乐在心
//+-----------------------------------------------------------
//| Author:Janmas <janmas@126.com>
//+-----------------------------------------------------------
//| 
//+-----------------------------------------------------------


namespace app\admin\controller;



class Index extends Admin
{
    protected $noNeedLogin = ['icon'];
	protected $noNeedAuth = ['*'];

    public function index(){
        return $this->fetch();
    }

    public function icon(){
        $icon = include app()->getConfigPath().'icon.php';
        return $this->fetch('',['icon'=>$icon]);
    }
}